// import Layout from '@/views/layout'
import LayoutChild from '@/views/specialist/entrance/layout'
export const entrance = {
	path: 'entrance',
	name: 'entrance',
	component: LayoutChild,
	redirect: '/entrance/teammanagement',
	meta: {
		title: '专家技术',
		icon: ''
	},
	children: [
		{
			
			path: "teammanagement",
			name: "teammanagement",
			component: () => import('@/views/specialist/entrance/index.vue'),
			// component: () => import('@/views/addressList/myLinkMenber/linkMener/myLinkMenber/index.vue'),
			redirect: '/entrance/teammanagement/specialist',
			meta: {
				title: '团队管理',
				icon: ''
			},
			children:[
				{
					path: "specialist",
					name: "specialist",
					component: () => import('@/views/specialist/entrance/specialistList/index.vue'), // 专家列表
					meta: {
						title: '专家列表',
						icon: ''
					}
				},
				{
					path: "specialistdetail/:id",
					name: "specialistdetail",
					component: () => import('@/views/specialist/entrance/specialistList/specialistDetails/index.vue'), // 专家详情
					meta: {
						title: '专家详情',
						icon: ''
					}
				},
				{
					path: "addspecialist",
					name: "addspecialist",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/index.vue'), // 新增专家
					meta: {
						title: '新增专家',
						icon: ''
					}
				},
				// 新增专家跳转页面
				// 新增教育经历
				{
					path: "addeducation",
					name: "addeducation",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/addEducation/index.vue'), // 新增教育经历
					meta: {
						title: '新增教育经历',
						icon: ''
					}
				},
				// 新增职称等级
				{
					path: "addtechnical",
					name: "addtechnical",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/addTechnical/index.vue'), // 新增职称等级
					meta: {
						title: '新增职称等级',
						icon: ''
					}
				},
				// 新增获奖成果
				{
					path: "addpalm",
					name: "addpalm",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/addPalm/index.vue'), // 新增获奖成果
					meta: {
						title: '新增获奖成果',
						icon: ''
					}
				},
				// 新增培训经历
				{
					path: "addcultivateundergo",
					name: "addcultivateundergo",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/addCultivate/index.vue'), // 新增培训经历
					meta: {
						title: '新增培训经历',
						icon: ''
					}
				},
				// 新增社会职务
				{
					path: "addsociety",
					name: "addsociety",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/addSociety/index.vue'), // 新增社会职务
					meta: {
						title: '新增社会职务',
						icon: ''
					}
				},
				// 新增主持在研项目
				{
					path: "addresearch",
					name: "addresearch",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/addResearch/index.vue'), // 新增主持在研项目
					meta: {
						title: '新增在研项目',
						icon: ''
					}
				},
				// 新增代表文章专著
				{
					path: "addarticle",
					name: "addarticle",
					component: () => import('@/views/specialist/entrance/specialistList/addSpecialist/addArticle/index.vue'), // 新增代表文章专著
					meta: {
						title: '新增文章专著',
						icon: ''
					}
				},
				// 专家组
				{
					path: "specialistgroup",
					name: "specialistgroup",
					component: () => import('@/views/specialist/entrance/specialistGroup/index.vue'), // 专家组
					meta: {
						title: '专家组',
						icon: ''
					}
				},
				{
					path: "modificationspecialist/:id",
					name: "modificationspecialist",
					component: () => import('@/views/specialist/entrance/specialistGroup/update/index.vue'), // 修改专家组
					meta: {
						title: '修改专家组',
						icon: ''
					}
				}
			]
		},
		{
			
			path: "cultivateschool",
			name: "cultivateschool",
			component: () => import('@/views/specialist/entrance/index.vue'),
			redirect: '/entrance/cultivateschool/cultivate',
			meta: {
				title: '培训学校',
				icon: ''
			},
			children:[
				{
					path: "cultivate",
					name: "cultivate",
					component: () => import('@/views/specialist/entrance/cultivate/index.vue'), // 培训班
					meta: {
						title: '培训班',
						icon: ''
					}
				},
				{
					path: "cultivatespecialist/:id",
					name: "cultivatespecialist",
					component: () => import('@/views/specialist/entrance/cultivate/cultivateSpecialist/index.vue'), // 培训班专家列表
					meta: {
						title: '培训班详情',
						icon: ''
					}
				},
				{
					path: "addcultivate",
					name: "addcultivate",
					component: () => import('@/views/specialist/entrance/cultivate/addCultivate/index.vue'), // 新增培训班
					meta: {
						title: '新增培训班',
						icon: ''
					}
				}
			]
		}
	]
}